<?php /* Smarty version 2.6.25, created on 2011-05-10 14:26:37
         compiled from main/frm_premio_sortear.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_encode', 'main/frm_premio_sortear.html', 30, false),)), $this); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Lang" content="pt-br">
<title>SISTEMA JBFM 99,7</title>
<link href="<?php echo $this->_tpl_vars['base_css']; ?>
/smoothness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css"/>
<script src="<?php echo $this->_tpl_vars['base_js']; ?>
/jquery.min.js"></script>
<script src="<?php echo $this->_tpl_vars['base_js']; ?>
/jquery-ui.min.js"></script>  
<script src="<?php echo $this->_tpl_vars['base_js']; ?>
/main/frm_premio_sortear.js"></script>                               
<link href="<?php echo $this->_tpl_vars['base_css']; ?>
/frm_sortear_premio.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="sortear_premio">

<fieldset>

<legend>Sortear Participantes</legend>

    <form>
    
        <div style="display:block;width:435px;padding:5px;">            
            <label for="premio">PRÊMIO: </label>
            <!--<input type="text" name="mod_premio" id="mod_premio" class="util_input_text" />   -->
            
            <select name="mod_premio" id="mod_premio">
                <option value="">(SELECIONE)</option>
                <?php $_from = $this->_tpl_vars['select_premios']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['ListaPremios'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['ListaPremios']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['p']):
        $this->_foreach['ListaPremios']['iteration']++;
?>
                    <option value="<?php echo $this->_tpl_vars['p']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['p']['nome'])) ? $this->_run_mod_handler('utf8_encode', true, $_tmp) : utf8_encode($_tmp)); ?>
</option>
                <?php endforeach; endif; unset($_from); ?>
            </select>
            
           <!-- <label for="premio_id">ID:</label> -->
            <input type="hidden" name="mod_premio_id" id="mod_premio_id" size="3" class="util_input_text" />            
        </div>
        
        
        <div style="display:block;width:435px;padding:5px;height:25px;">
            <label for="bairro">DT ÍNICIO:</label>
            <input type="text" name="premio_dt_i" id="premio_dt_i" class="util_input_text" value="" />
            <select name="hora_inicial" id="hora_inicial">
                <option value='00:00:00'>00:00</option>
                <option value='00:30:59'>00:30</option>
                <option value='01:00:00'>01:00</option>
                <option value='01:30:59'>01:30</option>
                <option value='02:00:00'>02:00</option>
                <option value='02:30:59'>02:30</option>
                <option value='03:00:00'>03:00</option>
                <option value='03:30:59'>03:30</option>
                <option value='04:00:00'>04:00</option>
                <option value='04:30:59'>04:30</option>
                <option value='05:00:00'>05:00</option>
                <option value='05:30:59'>05:30</option> 
                <option value='06:00:00'>06:00</option>
                <option value='06:30:59'>06:30</option> 
                <option value='07:00:00'>07:00</option>
                <option value='07:30:59'>07:30</option> 
                <option value='08:00:00'>08:00</option>
                <option value='08:30:59'>08:30</option> 
                <option value='09:00:00'>09:00</option>
                <option value='09:30:59'>09:30</option> 
                <option value='10:00:00'>10:00</option>
                <option value='10:30:59'>10:30</option> 
                <option value='11:00:00'>11:00</option>
                <option value='11:30:59'>11:30</option> 
                <option value='12:00:00'>12:00</option>
                <option value='12:30:59'>12:30</option> 
                <option value='13:00:00'>13:00</option>
                <option value='13:30:59'>13:30</option> 
                <option value='14:00:00'>14:00</option>
                <option value='14:30:59'>14:30</option> 
                <option value='15:00:00'>15:00</option>
                <option value='15:30:59'>15:30</option> 
                <option value='16:00:00'>16:00</option>
                <option value='16:30:59'>16:30</option> 
                <option value='17:00:00'>17:00</option>
                <option value='17:30:59'>17:30</option> 
                <option value='18:00:00'>18:00</option>
                <option value='18:30:59'>18:30</option> 
                <option value='19:00:00'>19:00</option>
                <option value='19:30:59'>19:30</option> 
                <option value='20:00:00'>20:00</option>
                <option value='20:30:59'>20:30</option> 
                <option value='21:00:00'>21:00</option>
                <option value='21:30:59'>21:30</option> 
                <option value='22:00:00'>22:00</option>
                <option value='22:30:59'>22:30</option> 
                <option value='23:59:59'>23:59</option>

            </select>
            Até 
            <select name="hora_final" id="hora_final">
                <option value='00:00:00'>00:00</option>
                <option value='00:30:59'>00:30</option>
                <option value='01:00:00'>01:00</option>
                <option value='01:30:59'>01:30</option>
                <option value='02:00:00'>02:00</option>
                <option value='02:30:59'>02:30</option>
                <option value='03:00:00'>03:00</option>
                <option value='03:30:59'>03:30</option>
                <option value='04:00:00'>04:00</option>
                <option value='04:30:59'>04:30</option>
                <option value='05:00:00'>05:00</option>
                <option value='05:30:59'>05:30</option> 
                <option value='06:00:00'>06:00</option>
                <option value='06:30:59'>06:30</option> 
                <option value='07:00:00'>07:00</option>
                <option value='07:30:59'>07:30</option> 
                <option value='08:00:00'>08:00</option>
                <option value='08:30:59'>08:30</option> 
                <option value='09:00:00'>09:00</option>
                <option value='09:30:59'>09:30</option> 
                <option value='10:00:00'>10:00</option>
                <option value='10:30:59'>10:30</option> 
                <option value='11:00:00'>11:00</option>
                <option value='11:30:59'>11:30</option> 
                <option value='12:00:00'>12:00</option>
                <option value='12:30:59'>12:30</option> 
                <option value='13:00:00'>13:00</option>
                <option value='13:30:59'>13:30</option> 
                <option value='14:00:00'>14:00</option>
                <option value='14:30:59'>14:30</option> 
                <option value='15:00:00'>15:00</option>
                <option value='15:30:59'>15:30</option> 
                <option value='16:00:00'>16:00</option>
                <option value='16:30:59'>16:30</option> 
                <option value='17:00:00'>17:00</option>
                <option value='17:30:59'>17:30</option> 
                <option value='18:00:00'>18:00</option>
                <option value='18:30:59'>18:30</option> 
                <option value='19:00:00'>19:00</option>
                <option value='19:30:59'>19:30</option> 
                <option value='20:00:00'>20:00</option>
                <option value='20:30:59'>20:30</option> 
                <option value='21:00:00'>21:00</option>
                <option value='21:30:59'>21:30</option> 
                <option value='22:00:00'>22:00</option>
                <option value='22:30:59'>22:30</option> 
                <option value='23:59:59'>23:59</option>

            </select>
        </div>
            
            
        
        <div style="display:block;width:495px;padding:5px;height:25px;"> 
            <label for="bairro">DT FIM:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
            <input type="text" name="premio_dt_f" id="premio_dt_f" class="util_input_text" value=""/>

            
            <label for="bairro">TOTAL:</label>
            <input type="text" name="numero_sorteados" id="numero_sorteados" class="util_input_text" />
            <input type="button" id="mod_salvar_sorteado" name="mod_salvar_sorteado" class="util_input_bt" />   
        </div>
         </form>
        </fieldset>
        
        <fieldset>

<legend>Carregar/Remover Sorteados</legend>
    <form>    
        <div style="display:block;width:510px;padding:5px;height:25px;"> 
            
            <input type="button" id="mod_carregar_sorteado" name="mod_carregar_sorteado" class="util_input_bt" /> 
            <label for="bairro">REMOVER SORTEADO > (ID)</label>  <input type="text" name="id_sorteado" id="id_sorteado" class="util_input_text" />  
            <input type="button" id="mod_remover_sorteado" name="mod_remover_sorteado" class="util_input_bt" />
        </div>
       
    </form>
    
        
    
</fieldset>
        
<fieldset>
<legend>Sorteados:</legend>
<div id="exibirSorteados"></div>
</fieldset>
            
<br />
<div style="background-color:#E9E9E9">
<div style="padding:5px;">Mensagens :</div>
<div id="msg_mod_util" style="padding:5px;"></div>
</div>



</body>
</html>